<?php
use think\facade\Config;
?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" type="text/css" href="<?php echo Config::get('app.static_domian')?>/layui/css/layui.css"/>
    <style type="text/css">
        body{margin:10px auto;width: 750px;}ul{margin-top:5px;}li{margin-top:3px;}.layui-form-switch{margin-top: 0;}#tree1 ul+ul{border-top: 1px dashed #e2e2e2;}
    </style>
</head>
<body>

<form action="/test/add" enctype="multipart/form-data" method="post">
    <div>
        <span>姓名：</span>
        <input type="text" name="name" value="">
    </div>
    <div>
        <span>密码：</span>
        <input type="password" name="password" value="">
    </div>
    <div>
        <span>邮箱：</span>
        <input type="text" name="email" value="">
    </div>
    <div>
        <span>头像：</span>
        <input type="file" name="logo" />
    </div>

    <input type="submit" value="上传" />
</form>

</body>
</html>
